package com.xuexiang.xuidemo.page.uilts;

import ohos.aafwk.ability.Ability;
import ohos.aafwk.content.Intent;

import com.xuexiang.xui_lib.util.StatusBarUtils;
import com.xuexiang.xuidemo.ResourceTable;

/**
 * 沉浸式状态栏示例页面
 *
 * @since 2021-03-31
 */
public class TranslucentAbility extends Ability {
    @Override
    protected void onStart(Intent intent) {
        super.onStart(intent);
        StatusBarUtils.translucent();
        setUIContent(ResourceTable.Layout_ability_utils_translucent);
    }
}
